package com.manage.platform.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Null;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * YWD
 * 2025/9/29
 */
@Accessors(chain = true)
@Data
public class AchieveApprovalDto implements Serializable {

    @Schema(description = "成果ID,修改时/审批时必传")
    private Long id;

    @Schema(description = "指标体系ID")
    private List<Long> indicatorSystemList;

    @Schema(description = "任务ID")
    private List<Long> taskList;

    @Schema(description = "部门ID")
    private List<Long> organizeList;

    //暂存为未审批
    @Schema(description = "审批状态(0=暂存,1=通过,2=驳回)")
    private Integer status;

    @Null
    @Schema(description = "审批人ID,不传", hidden = true)
    private Long approvalId;

    @Null
    @Schema(description = "审批时间,不传", hidden = true)
    private String approvalDate;

    @Schema(description = "审批意见")
    private String approvalRemark;

}
